package com.dlc.beijingrfid.net.bean;

import com.dlc.beijingrfid.model.intfc.ProductList;
import java.util.List;

/**
 * Created by John on 2017/7/24.
 */

public class SpecListBean {

    /**
     * code : 1
     * msg : 查询成功
     * data : [{"id":"1","company_id":"0","category_id":"1","spec":"12*12","content":"12*12毛巾","remark":""},{"id":"2","company_id":"0","category_id":"1","spec":"16*16","content":"16*16毛巾","remark":""}]
     */

    public int code;
    public String msg;
    public List<DataBean> data;

    public static class DataBean implements ProductList {
        /**
         * id : 1
         * company_id : 0
         * category_id : 1
         * spec : 12*12
         * content : 12*12毛巾
         * remark : 
         */

        public int id;
        public String company_id;
        public int category_id;
        public String spec;
        public String content;
        public String remark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        @Override
        public String getName() {
            return content;
        }

        @Override
        public String getSpec() {
            return spec;
        }

        @Override
        public String getManufacturer() {
            return company_id;
        }

        @Override
        public int getAmount() {
            return 0;
        }

        @Override
        public String getWhere() {
            return null;
        }
    }
}
